package com.opal.stockTaking.service;

import com.opal.system.entity.table.PKOrg;
import com.opal.stockTaking.entity.BdStordoc;
import com.opal.stockTaking.entity.StockTakingResult;
import com.opal.stockTaking.form.StockTakignResultForm;
import com.opal.utils.ResultMsg;
import com.opal.vo.PageVO;

import java.util.List;

public interface StockTakingHelpService {

    //获取组织
    List<PKOrg> getpkorg();

    //获取仓库信息
    List<BdStordoc> getBdStordoc();

    //获取物料名称
    String getmaterialName(String materialCode);

    //盘点结果-删除
    ResultMsg deleteByPrimaryKey(String vbillcode);

    //盘点结果-增加
    ResultMsg insertSelective(String date, int startCode, int count);

    //盘点结果-查询
    List<StockTakingResult> selectSelective(StockTakingResult stockTakingResult);

    //盘点结果-更新
    ResultMsg updateByPrimaryKeySelective(StockTakingResult stockTakingResult);

    //合并数据
    PageVO<StockTakingResult> stockTakingResult(StockTakignResultForm form, List<String> bdStordoc);
}